package com.base.project.exception;


import com.base.project.resultMapUtil.EnumInterface;

/**
 * @ProjectName: EnumInterface
 * @Package: com.base.project.exception
 * @Description: 业务异常描述类
 * @Author: Z.G.C
 * @CreateDate: 2019/9/27 5:39 PM
 * @UpdateUser: Z.G.C
 * @UpdateDate: 2019/9/27 5:39 PM
 * @UpdateRemark: The modified content
 * @Version: 1.0
 * <p>Copyright: Copyright (c) 2019</p>
 */
public class BusinessException extends BaseException{
    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String code, String message) {
        super(code, message);
    }

    public BusinessException(EnumInterface enums, Object... args) {
        super(enums.getCode(), enums.getMsg(), args);
    }
}
